import {App} from 'vue'
import antd from './modules/antd'
import axios from './modules/axios'
import router from '../router'
import store from '../store'
import mixin from './modules/mixin'
import loader from './modules/todo/loader'
import i18n from './modules/i18n'
// import '@/assets/app.css'


export default {
    install: (app: App): void => {
        app
            .use(i18n)
            .use(router) //路由
            .use(antd)  //AntDesignVue
            .use(store) //vuex
            .use(axios) //http
            .use(loader) //加载远程js
            .use(mixin) //自定义组件

    }
}
